import redis


pool = redis.ConnectionPool(
    host = 'localhost',
    port = 6379,
    password = 'Cmtt$08@51',
    db = 0,
    max_connections = 20
)

pool_db1 = redis.ConnectionPool(
    # 用于服务器
    # host = 'localhost',
    # 用于本地测试
    host = '110.56.105.3',
    port = 6379,
    password = 'Cmtt$08@51',
    db = 1,
    max_connections = 20
)